package com.wuming.house.service;

import com.wuming.house.model.Decorate;

import java.util.List;

/**
 * @author xuhuai
 * @createTime 2019/8/27 18:58
 * @Description:
 */
public interface DecorateService {

    List<Decorate> getDecoratesByPage(String title,String source,int pageIndex,int pageSize);

    int getTotal(String title,String source);

    Decorate getDecorateById(Integer id);

    void saveDecorate(Decorate decorate);

    void modifyDecorate(Decorate decorate);

    void delete(Integer id);

    List<Decorate> getDecoratesByMember(String title,String source,Integer memberId,int pageIndex,int pageSize);

    int getTotalByMember(String title,String source,Integer memberId);
}
